package com.banmao.greedysnake;

import com.banmao.greedysnake.gamepanel.view.GamePanelView;
import com.banmao.greedysnake.splash.MySplashScreen;
import de.felixroske.jfxsupport.AbstractJavaFxApplicationSupport;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
public class GreedySnakeApplication {

    public static void main(String[] args) {
        //SpringApplication.run(GreedySnakeApplication.class, args);
        AbstractJavaFxApplicationSupport.launch(GreedySnakeApplication.class, FXMain.class,
                GamePanelView.class, new MySplashScreen(), args);
    }

}
